home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8118 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: rcp6.elan.af.mil!rscernix!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: malloc() problem
  5. Date: 27 Feb 96 21:51:24 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.825457884@rscernix>
  8. References: <31332992.41C6@mashie.ece.jhu.edu>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. X-Newsreader: NN version 6.5.0 #7 (NOV)
  11.  
  12. In <31332992.41C6@mashie.ece.jhu.edu> Chenyang Xu <chenyang@mashie.ece.jhu.edu> writes:
  13.  
  14. >    Recently I have been haunted by the core dump inside malloc() on SGI
  15. >Indigo2 IRIX5.2, I know the problem is caused by my program not the
  16. >malloc(). But I couldn't find the bug? Does any C expert has identified 
  17. >the common reasons for malloc to core dump?
  18.  
  19. Yes.  They can be easily found in the FAQ (mandatory reading before
  20. posting).
  21.  
  22. >Your help will probably help me to find the  bug. 
  23.  
  24. ElectricFence (freely available at an FTP server near you) will find the
  25. bug for you (assuming you know how to analyze a coredump with a debugger).
  26.  
  27. If you have access to Purify, it won't hurt, either :-)
  28.  
  29. Dan
  30. --
  31. Dan Pop
  32. CERN, CN Division
  33. Email: danpop@mail.cern.ch 
  34. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  35.